﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
										xmlns:futaba="urn:futaba.sbus"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<DataTemplate DataType="{x:Type futaba:Channel}">
			<Grid>
				<Slider Minimum="-155" Maximum="155" TickFrequency="155" TickPlacement="TopLeft"
								Value="{Binding CurrentValue}" Margin="0,14,0,0" IsEnabled="False" />
				<Label Content="{Binding DisplayName}" HorizontalAlignment="Left" VerticalAlignment="Top" />
			<Label Content="{Binding CurrentValue, TargetNullValue=0}"
						 ContentStringFormat="{}{0:000} %"
						 HorizontalAlignment="Right" VerticalAlignment="Top" />
			</Grid>
	</DataTemplate>
</ResourceDictionary>